#include<iostream>
#include"AVLTree.h"

using namespace std;

void TestInsert()
{
	int a[] = { 16,3,7,11,9,26,18,14,15 };
	AVLTree<int,int> at;
	for (auto e : a)
	{
		at.Insert(make_pair(e, e));
		cout << "Insert:" << e << "->" << at.IsBalance() << endl;;
	}
	
}

int main()
{
	TestInsert();
	return 0;
}
